package com.sy.common.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.DoubleSummaryStatistics;

/**
 * Created by mac on 2017/12/1.
 */
@Entity
@Table(name="sp_juejin_users")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Juejinuser extends BaseModel{
    private String username;
    private String password;
    private String phone;
    private String create_time;
    private String last_login_time;
    private Integer status;
    private Integer ticket = 0;// 奖券
    private Double coin = 1000.00;// 金币
    private Integer star = 0; // 连胜宝箱
    private Double addmoney = 0.0;
    private Double money = 1000.0;
    private Double buffer_money;
    private String wechat_id;
    private String headimgurl;
    private String wechat_name;
    private String token;
    private String open_id;
    private Integer ifvip = 0;
    private String knapsack = "0,0,0,0,0,0,0,0,0";
    private Integer shareid = 0;
    private Double fanlimoney = 0.0;
    private Double ratio = 1.0; // coin和money的比例
    private Integer ifbind = 0;
    private String id_number;// 身份证号
    private String card_num;// 银行卡号
    private String real_name;// 真实姓名
    private Integer chestId = 0;// 领取宝箱的id，宝箱不可重复领取
    private Integer knastar = 0;
}
